import request from '@/utils/request'

// 获取列表信息
export function getAgencyManage(params) {
  return request({
    url: '/ops/distributor/getDistributorList',
    method: 'get',
    params: { tenantId: params }
  })
}

// 获取列表信息
export function getOperateRecord(params) {
  return request({
    url: '/ops/',
    method: 'get',
    params: { userId: params }
  })
}

// 获取列表信息
export function update(data) {
  return request({
    url: '/ops/distributor/updateDistributor',
    method: 'post',
    data
  })
}
